<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
	<title>{$title}</title>
	<meta name='keywords' content="{$keywords}">
	<meta name="description" content="{$descr}">
</head>
<body>
	<ul>
		{foreach $topMenu as $mName => $mItem}
			<li {if $pageId==$mItem[''].id}class="active"{/if}><a href="{$mItem[''].link}">{$mName}</a></li>
		{/foreach}
	</ul>
	
	<ul>
		<li><a href="/">ГЛАВНАЯ</a></li>
		{foreach $crumbs as $crumb}
			<li><a href="{$crumb['link']}">{$crumb['name']}</a></li>
		{/foreach}
	</ul>
	
	<h1>{$name}</h1>
	
	{include "$tpl"}
</body>
</html>